package com.efast.dmom.mes.bean;

import com.efast.dmom.mes.bean.base.RouteRelateBaseBean;
import com.efast.dmom.mes.entity.RouteLineRelEntity;

public class RouteLineRelation extends RouteRelateBaseBean<RouteLineRelEntity> {

	
	private static final long serialVersionUID = 1L;
	
	

	public boolean equals(Object obj) {

		boolean result = false;

		if (obj instanceof Route) {

			if (this.getInnerData().getId() <= 0) {
				result = (this == (RouteLineRelation) obj);
			} else {
				result = (this.getInnerData().getId() == ((RouteLineRelation) obj).getInnerData().getId());
			}
		}
		return result;
	}

}
